package src.stringTest;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: tao
 * Date: 2023-11-20
 * Time: 14:02
 */
public class Test1 {
    public static void main(String[] args) {
        String s1 = "hello world";
        System.out.println(s1);
        System.out.println("==============");
        String s2 = new String("hello");
        System.out.println(s2);
        System.out.println("===========");
        char[] ch = {'h','e','l','l','o'};
        String s3 = new String(ch);
        System.out.println(s3);
    }
}
